package acme.bloodtime.dao;
import modelo.IArticuloDO;
import modelo.IVampiroArticuloDO;
import modelo.IVampiroDO;
import dao.api.DataObject;
import dao.api.Reference;

/**
 * 
 * @author Cesar A. Fuguet T.
 *
 */
public class VampiroArticuloDO implements DataObject, IVampiroArticuloDO {

	// -------------------------------------
	// Columnas de la tabla VampiroArticulo
	// -------------------------------------
	
	public static final String EQUIPADO = "equipado";
	public static final String VAMPIRO_ID = "vampiroId";
	public static final String ARTICULO_ID = "articuloId";
	
	// -------------------------------
	// Identificador auto-incremental
	// -------------------------------
	
	private int id;
	
	//--------------------------------
	
	private boolean equipado;
	
	// ------------
	// Referencias
	// ------------
	
	private Reference<IVampiroDO> vampiroId = //
		new Reference<IVampiroDO>();
	
	private Reference<IArticuloDO> articuloId = //
		new Reference<IArticuloDO>();
	
	// ------------------------------------------------------------------------
	
	public VampiroArticuloDO() {
		// Empty
	}
	
	@Override
	public int getId() {
		return id;
	}

	@Override
	public void setId(int id) {
		this.id = id;
	}

	public void setEquipado(boolean equipado) {
		this.equipado = equipado;
	}

	public boolean isEquipado() {
		return equipado;
	}

	public Reference<IVampiroDO> getVampiroId() {
		return vampiroId;
	}

	public void setVampiroId(Reference<IVampiroDO> vampiroId) {
		this.vampiroId = vampiroId;
	}

	public Reference<IArticuloDO> getArticuloId() {
		return articuloId;
	}

	public void setArticuloId(Reference<IArticuloDO> articuloId) {
		this.articuloId = articuloId;
	}

}
